package org.apache.jsp.weixin.main.member.recharge;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

static private org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_0;

static {
  _jspx_fnmap_0= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction("fn:length", org.apache.taglibs.standard.functions.Functions.class, "length", new Class[] {java.lang.Object.class});
}

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(5);
    _jspx_dependants.add("/taglib.jsp");
    _jspx_dependants.add("/WEB-INF/tld/fmt.tld");
    _jspx_dependants.add("/WEB-INF/tld/fn.tld");
    _jspx_dependants.add("/WEB-INF/tld/c.tld");
    _jspx_dependants.add("/WEB-INF/tld/xw.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write('\r');
      out.write('\n');
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

	response.setHeader("progma", "no-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);

      out.write("\r\n");
      out.write("<!DOCTYPE html>\r\n");
      out.write("<head>\r\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/weixin/include/head_v2.jsp", out, false);
      out.write("\r\n");
      out.write("    <style>\r\n");
      out.write("        .right-opt{\r\n");
      out.write("            display: block;\r\n");
      out.write("            height: 43px;\r\n");
      out.write("            line-height: 43px;\r\n");
      out.write("            width: 88px;\r\n");
      out.write("            text-indent: 12px;\r\n");
      out.write("            color: #fff;\r\n");
      out.write("            position: absolute;\r\n");
      out.write("            right: 0;\r\n");
      out.write("            top: 0;\r\n");
      out.write("            font-size: 15px;\r\n");
      out.write("            font-weight:700;\r\n");
      out.write("        }\r\n");
      out.write("        .acolor-0ac1ae:hover,.acolor-0ac1ae:visited{\r\n");
      out.write("            color:#0ac1ae;\r\n");
      out.write("        }\r\n");
      out.write("        .acolor-ea4c33:hover,.acolor-ea4c33:visited{\r\n");
      out.write("            color: #ea4c33;\r\n");
      out.write("        }\r\n");
      out.write("        .acolor-1a99ff:hover,.acolor-1a99ff:visited{\r\n");
      out.write("            color: #1a99ff;\r\n");
      out.write("        }\r\n");
      out.write("    </style>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body class=\"bg-f2f2f2\" role=\"_fixedTop\">\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("    ");
      out.write("\r\n");
      out.write("    ");
      out.write('\r');
      out.write('\n');
      out.write("\r\n");
      out.write("<header class=\"comHeader comBlock care-bg01 bt-none bb-none\">\r\n");
      out.write("    <h1 class=\"f16 fb tc\">充值</h1>\r\n");
      out.write("    <a class=\"return\" role=\"_backBtn _closeDetail\" href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(param.ref)>0?param.ref:'../my_balance'}", java.lang.String.class, (PageContext)_jspx_page_context, _jspx_fnmap_0, false));
      out.write("\"><span class=\"back\"></span></a>\r\n");
      out.write("    <span class=\"right-opt\" data-toggle=\"modal\" data-target=\"#flsm\">福利说明</span>\r\n");
      out.write("</header>\r\n");
      out.write("<div class=\"pt43 js_con\">\r\n");
      out.write("    <form>\r\n");
      out.write("        <div class=\"pr12 pl12 pt10 pb10 bg-fff bb\">\r\n");
      out.write("            <span class=\"color-696969 f14 mr5\">金额</span>\r\n");
      out.write("            <input id=\"fee\" type=\"text\" placeholder=\"请输入充值金额\" class=\"pt5 pb5 b-none\">\r\n");
      out.write("        </div>\r\n");
      out.write("        <p class=\"pl12 pr12 color-909090 f12 mt10\">\r\n");
      out.write("\t\t\t");
      if (_jspx_meth_c_005fif_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("            ");
      if (_jspx_meth_c_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("        </p>\r\n");
      out.write("\r\n");
      out.write("        <p class=\"w100 pt20 pb10 tc js_button \" role=\"_bottomBtn\">\r\n");
      out.write("            <a id=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${isBlackList?\"\":\"confirm\"}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\" href=\"javascript:void(0);\" class=\"pt5 pb5 f16 fb bg-e94a35 br5 iblock ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${isBlackList?\"bg-A19E9E\":\"\"}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write(" color-fff w90\">下一步</a>\r\n");
      out.write("        </p>\r\n");
      out.write("        <p class=\"pt10 pb10 pr12 pl12 \"><a href=\"info\" class=\"color-0ac1ae acolor-0ac1ae\">没有微信支付？</a></p>\r\n");
      out.write("    </form>\r\n");
      out.write("    <div style=\"position:fixed;bottom:0;\" class=\"w100 tc\">\r\n");
      out.write("        <p class=\"tc color-909090\">尊敬的会员，任何需求可以联系您的专属<a href=\"#\" class=\"color-ea4c33 vmanager acolor-ea4c33\">[小V管家]</a></p>\r\n");
      out.write("        <p class=\"pr12 pl12 tc color-909090\">客服专线：<a href=\"tel:4006518051\" class=\"color-1a99ff acolor-1a99ff\">4006-518051</a></p>\r\n");
      out.write("    </div>\r\n");
      out.write("</div>\r\n");
      out.write("<div class=\"modal fade\" id=\"flsm\">\r\n");
      out.write("    <div class=\"modal-dialog\">\r\n");
      out.write("        <p class=\"pr10\"><button type=\"button\" class=\"close\" data-dismiss=\"modal\"><span aria-hidden=\"true\">×</span><span class=\"sr-only\">关闭</span></button></p>\r\n");
      out.write("        <h3 class=\"modal-title pd10 tc f16 bb\">充值福利说明</h3>\r\n");
      out.write("        <div class=\"modal-content\">\r\n");
      out.write("\r\n");
      out.write("            <p class=\"pd10 clearfix color-646464\">\r\n");
      out.write("                <span class=\"f_left\">续费充值满3000元,赠送<em style=\"color: #f9c154;\">300元</em>大礼包</span>\r\n");
      out.write("            </p>\r\n");
      out.write("            <p class=\"pd10 clearfix color-646464\">\r\n");
      out.write("                <span class=\"f_left\">续费充值满5000元,赠送<em style=\"color: #f9c154;\">600元</em>大礼包</span>\r\n");
      out.write("            </p>\r\n");
      out.write("            <p class=\"pd10 clearfix color-646464\">\r\n");
      out.write("                <span class=\"f_left\">续费充值满8000元,赠送<em style=\"color: #f9c154;\">1000元</em>大礼包</span>\r\n");
      out.write("            </p>\r\n");
      out.write("            <p class=\"pd10 clearfix color-646464\">\r\n");
      out.write("                <span class=\"f_left\">续费充值满10000元,赠送<em style=\"color: #f9c154;\">1200元</em>大礼包</span>\r\n");
      out.write("            </p>\r\n");
      out.write("        </div>\r\n");
      out.write("        <div class=\"modal-footer\">\r\n");
      out.write("            <p class=\"tl mb5\">\r\n");
      out.write("                * 首次充值3000+成为会员免费赠送98元健康管理服务，银/金卡：1次，铂金卡：2次，钻石卡:3次。\r\n");
      out.write("            </p>\r\n");
      out.write("            <p class=\"w100 pb10 tc  \">\r\n");
      out.write("                <a href=\"javascript:void(0);\" data-dismiss=\"modal\" class=\"pt5 pb5 f16 fb bg-e94a35 br5 iblock color-fff w100\">我知道了</a>\r\n");
      out.write("            </p>\r\n");
      out.write("        </div>\r\n");
      out.write("    </div>\r\n");
      out.write("</div>\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/weixin/include/footer_v2.jsp", out, false);
      out.write('\r');
      out.write('\n');
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "/weixin/include/vmanager.jsp", out, false);
      out.write("\r\n");
      out.write("<script>\r\n");
      out.write("    $(\"#confirm\").click(function () {\r\n");
      out.write("        var fee = $(\"#fee\").val();\r\n");
      out.write("        if (false == fee.isMoney() || 0.01 > parseFloat(fee)) {\r\n");
      out.write("            window.Util.messager.show('请输入正确的充值金额！');\r\n");
      out.write("        } else if (\"\" == fee || 0 == parseFloat(fee)) {\r\n");
      out.write("            window.Util.messager.show('请输入充值金额！');\r\n");
      out.write("        } else {\r\n");
      out.write("            location.replace(\"wxpay?fee=\" + fee);\r\n");
      out.write("        }\r\n");
      out.write("        return false;\r\n");
      out.write("    });\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_005fif_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f0.setParent(null);
    // /weixin/main/member/recharge/index.jsp(50,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!isfirst}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
    if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("                *新用户充值满3000元，将由小V管家为您派送大礼包。\r\n");
        out.write("            ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f1(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f1.setParent(null);
    // /weixin/main/member/recharge/index.jsp(53,12) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${isfirst}", java.lang.Boolean.class, (PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
    if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("                *会员续费满1000元，将由小V管家为您派送大礼包。\r\n");
        out.write("            ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
    return false;
  }
}
